package com.xc.freeapp.util;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; 
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;


/**
 * 注解接口是否需要token验证
 * @author Administrator
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
public @interface TokenAnnotation {
	
	boolean required() default true; //true:需要    false:不需要    默认为true 

}
